depends zlib &&
depends util-linux &&
depends lzo &&

depends setuptools &&

optional_depends acl \
                 "--enable-convert" \
                 "--disable-convert" \
                 "for btrfs-convert utility" &&

if is_depends_enabled $SPELL acl; then
  depends e2fsprogs
fi &&

optional_depends xmlto \
                 "--enable-documentation" \
                 "--disable-documentation" \
                 "to build documentation" &&

if is_depends_enabled $SPELL xmlto; then
  depends asciidoc
fi &&

if [[ "$BTRFS_PROGS_BRANCH" == scm ]]; then
  depends autoconf &&
  depends automake &&
  depends git
fi &&

optional_depends zstd \
                 "--enable-zstd" \
                 "--disable-zstd" \
                 "for zstd compression"
